package com.leslie.wukong.biz.product.converter;

import com.leslie.wukong.biz.product.domain.BusProduct;
import com.leslie.wukong.biz.product.domain.vo.ProductVO;
import com.leslie.wukong.biz.system.domain.SysUser;
import com.leslie.wukong.biz.system.domain.dto.SysUserAddDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * ClassName: ObjectConverter
 * Package: com.leslie.wukong.biz.product.converter
 * Description:
 * @date: 2024/12/4 8:52
 * @author: itcoder
 */
@Mapper(componentModel = "spring")
public interface ObjectConverter {
    ObjectConverter INSTANCE = Mappers.getMapper(ObjectConverter.class);

    BusProduct productVoToBusProduct(ProductVO param);

    SysUser sysUserAddDTOToSysUser(SysUserAddDTO dto);
}
